package com.city.service.party.impl;

import com.city.domain.party.PartyFaboradFamily;
import com.city.repository.party.PartyFaboradFamilyRepository;
import com.city.service.party.PartyFaboradFamilyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @deprecation: 干部出国，国内外家属登记
 * @dmail: 398521613@qq.com
 * @author: L-H
 * @date: 2018-07-18 13:14
 */
@Service
public class PartyFaboradFamilyServiceImpl implements PartyFaboradFamilyService {

    @Autowired
    private PartyFaboradFamilyRepository partyFaboradFamilyRepository;

    @Override
    public List<PartyFaboradFamily> findByAbdId(String abroadId,String type) {
        return partyFaboradFamilyRepository.findByAbroadId(abroadId,type);
    }
}
